﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GSdk.Shared
{
    public static class ObjectExtensionMethods
    {
        public static bool HasMethod(this object obj, string method)
        {
            var type = obj.GetType();
            return type.GetMethod(method) != null;
        }
    }
}
